From: Owen Taylor Date: Tue, 18 Nov 2008 00:45:32 +0000 (+0000) Subject: Check that xulrunner-1.9-dev is installed ahead of time X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~11586 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0c9468f139bc091f6a0be3257205de764364860d;p=gnome-shell.git Check that xulrunner-1.9-dev is installed ahead of time On Debian and Ubuntu, if xulrunner-1.9-dev is not installed before starting jhbuild, then things will break in mysterious ways, so check for that at the end of gnome-shell-build-setup.sh. Patch from Sander Dijkhuis. svn path=/trunk/; revision=54 --- diff --git a/tools/build/gnome-shell-build-setup.sh b/tools/build/gnome-shell-build-setup.sh index 78ccd6960..d077abccd 100755 --- a/tools/build/gnome-shell-build-setup.sh +++ b/tools/build/gnome-shell-build-setup.sh @@ -47,5 +47,13 @@ if test "x`echo $PATH | grep $HOME/bin`" = x; then echo fi +system=`lsb_release -is` +if test x$system = xUbuntu -o x$system = xDebian ; then + if dpkg --status xulrunner-1.9-dev > /dev/null 2>&1; then : ; else + echo "Please run, as root, 'apt-get install xulrunner-1.9-dev' before building gnome-shell." + echo + fi +fi + echo "Done."